<?php
$dbServer = 'csci.hopto.org';
$userName = 'root';
$passWord = 'csci7136';
$DB = 'hotel_reservations2';

    $conn = mysql_connect($dbServer, $userName, $passWord);
    mysql_select_db($DB);
    $sql = mysql_query("SELECT * FROM Hotels");
    while($result = mysql_fetch_array($sql)) {
    echo " <b>Hotel</b> = " .$result["hotelName"] . " <br>";
    echo " <b>Star</b> = " .$result["starRatingId"]. " <br>";
    echo " <b>Country</b> = " .$result["countryCode"]. " <br>";
     " <br><br>----------------<br><br>";
    }

?>